package com.sugar.follow.up.module.business.controller.admin.publicityeducation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 宣教新增/修改 Request VO")
@Data
public class PublicityEducationSaveReqVO {

    @Schema(description = "宣教ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10269")
    private Long id;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "标题不能为空")
    private String title;

    @Schema(description = "封面图", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "封面图不能为空")
    private String coverImage;

    @Schema(description = "所属分类ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18153")
    @NotNull(message = "所属分类ID不能为空")
    private Long clsId;

    @Schema(description = "内容详情", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "内容详情不能为空")
    private String content;

    @Schema(description = "作者名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "作者名不能为空")
    private String authorName;

    @Schema(description = "作者头像", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "作者头像不能为空")
    private String authorAvatar;

    @Schema(description = "浏览量", requiredMode = Schema.RequiredMode.REQUIRED, example = "21961")
    private Long lookCount;

}